package com.heima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.heima.model.wemedia.dtos.NewsDto;
import com.heima.model.wemedia.entity.WmNews;
import com.heima.model.wemedia.vo.WmNewsVo;

/**
 * 自媒体文章表(WmNews)表数据库访问层
 *
 * @author makejava
 * @since 2023-06-14 09:36:40
 */
public interface WmNewsMapper extends BaseMapper<WmNews> {


    Page<WmNewsVo> selectByPage(NewsDto dto);

    WmNewsVo getById(Integer id);
}

